From fdfb47c3a825258b871ac5921605642e5e05fdd8 Mon Sep 17 00:00:00 2001
From: Rafi Zadanly <zadanlyr@gmail.com>
Date: Tue, 21 Feb 2023 12:04:20 +0700
Subject: fix

---
 src/pages/my/transaction/[id].jsx | 13 +++++++++++++
 1 file changed, 13 insertions(+)
 create mode 100644 src/pages/my/transaction/[id].jsx

(limited to 'src/pages/my/transaction/[id].jsx')

diff --git a/src/pages/my/transaction/[id].jsx b/src/pages/my/transaction/[id].jsx
new file mode 100644
index 00000000..4b81b2a3
--- /dev/null
+++ b/src/pages/my/transaction/[id].jsx
@@ -0,0 +1,13 @@
+import AppLayout from "@/core/components/layouts/AppLayout"
+import TransactionComponent from "@/lib/transaction/components/Transaction"
+import { useRouter } from "next/router"
+
+export default function Transaction() {
+  const router = useRouter()
+
+  return (
+    <AppLayout title="Transaksi">
+      <TransactionComponent id={router.query.id} />
+    </AppLayout>
+  )
+}
\ No newline at end of file
-- 
cgit v1.2.3


From f66b12fd1d0b83af0d7230d7b1565fbe00afbe3c Mon Sep 17 00:00:00 2001
From: Rafi Zadanly <zadanlyr@gmail.com>
Date: Wed, 22 Feb 2023 11:03:34 +0700
Subject: prettier

---
 src/pages/my/transaction/[id].jsx | 10 +++++-----
 1 file changed, 5 insertions(+), 5 deletions(-)

(limited to 'src/pages/my/transaction/[id].jsx')

diff --git a/src/pages/my/transaction/[id].jsx b/src/pages/my/transaction/[id].jsx
index 4b81b2a3..ae27ab88 100644
--- a/src/pages/my/transaction/[id].jsx
+++ b/src/pages/my/transaction/[id].jsx
@@ -1,13 +1,13 @@
-import AppLayout from "@/core/components/layouts/AppLayout"
-import TransactionComponent from "@/lib/transaction/components/Transaction"
-import { useRouter } from "next/router"
+import AppLayout from '@/core/components/layouts/AppLayout'
+import TransactionComponent from '@/lib/transaction/components/Transaction'
+import { useRouter } from 'next/router'
 
 export default function Transaction() {
   const router = useRouter()
 
   return (
-    <AppLayout title="Transaksi">
+    <AppLayout title='Transaksi'>
       <TransactionComponent id={router.query.id} />
     </AppLayout>
   )
-}
\ No newline at end of file
+}
-- 
cgit v1.2.3


From ffa261e6adef70a2845878cf93e6e492eb8cee62 Mon Sep 17 00:00:00 2001
From: Rafi Zadanly <zadanlyr@gmail.com>
Date: Mon, 27 Feb 2023 10:49:45 +0700
Subject: footer

---
 src/pages/my/transaction/[id].jsx | 9 ++++++---
 1 file changed, 6 insertions(+), 3 deletions(-)

(limited to 'src/pages/my/transaction/[id].jsx')

diff --git a/src/pages/my/transaction/[id].jsx b/src/pages/my/transaction/[id].jsx
index ae27ab88..5167748c 100644
--- a/src/pages/my/transaction/[id].jsx
+++ b/src/pages/my/transaction/[id].jsx
@@ -1,4 +1,5 @@
 import AppLayout from '@/core/components/layouts/AppLayout'
+import IsAuth from '@/lib/auth/components/IsAuth'
 import TransactionComponent from '@/lib/transaction/components/Transaction'
 import { useRouter } from 'next/router'
 
@@ -6,8 +7,10 @@ export default function Transaction() {
   const router = useRouter()
 
   return (
-    <AppLayout title='Transaksi'>
-      <TransactionComponent id={router.query.id} />
-    </AppLayout>
+    <IsAuth>
+      <AppLayout title='Transaksi'>
+        <TransactionComponent id={router.query.id} />
+      </AppLayout>
+    </IsAuth>
   )
 }
-- 
cgit v1.2.3

